package com.yjj.demo.id.generator.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 *
 *
 * @author yangjiajia
 * @time 2021/6/27 17:17
 */
@Service("batchGeneratorService")
public class BatchGeneratorService implements IIdGeneratorService{

    @Value("${id.generator.batch.count:10}")
    private int batchCount;

    @Override
    public long nextId(String module) {
        return 0;
    }
}
